<?php
/**
 * 项目模型
 *
 * PHP version 5
 *
 * @package    Ecga
 * @subpackage Models
 * @author     Garbin <garbing@gmail.com>
 * @copyright  2010 Xingchangxinda Inc.
 * @version    SVN: $id$
 */

namespace Project\Models\Mapper\Ecga;


use \Framework\Mapper\Models;
/**
 * Projects models
 *
 * @package    Ecga
 * @subpackage Models
 * @author     FarmerLi <lixu_01@126.com>
 * @copyright  2010 Xingchangxinda Inc.
 * @version    Release: 0.1
 */
class Projects extends Models
{
	/**
	 * set Projects fields
	 *
	 * @return void
	 */
	protected function setFields()
	{
		$this->charField('projectName', 100, array('unique' => true, 'null' => true, 'blank' => true));
		$this->textField('batchConfig', array('null' => true, 'blank' => true));
	}
	
	/**
	 * 设置模型的关系
	 *
	 * @return void
	 */
	protected function setRelations()
	{
		
	}
}